package com.huike.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huike.dto.TallyChannelDto;
import com.huike.dto.TallyDto;
import com.huike.dto.domain.Course;
import com.huike.dto.domain.Tally;
import com.huike.vo.TallyCustomerVO;
import com.huike.vo.VulnerabilityMapVo;


import java.util.List;


public interface TallyService extends IService<Tally>
{
    /**
     * 客户统计-分页
     * @param tally
     * @return
     */
    List<Tally> contractStatisticsList(Tally tally);

    /**
     * 客户统计-部门查询分页
     * @return
     */
    List<Course> listSelect();

    /**
     * 部门统计-分页接口
     * @param tallyDto
     * @return
     */
    List<TallyDto> deptStatisticsList(TallyDto tallyDto);

    /**
     * 线索统计-分页接口
     * @param tallyDto
     * @return
     */
    List<TallyDto> cluesStatisticsList(TallyDto tallyDto);

    /**
     * 渠道统计-分页接口
     * @param tallyChannelDto
     * @return
     */
    List<TallyChannelDto> activityStatisticsList(TallyChannelDto tallyChannelDto);

    //漏斗统计
    public VulnerabilityMapVo getVulnerabilityMap(String beginCreateTime, String endCreateTime);

    TallyCustomerVO contractStatistics(String beginCreateTime, String endCreateTime);
    TallyCustomerVO salesStatistics(String beginCreateTime, String endCreateTime);
    TallyCustomerVO cluesStatistics(String beginCreateTime, String endCreateTime);
    TallyCustomerVO chanelStatistics(String beginCreateTime, String endCreateTime);
    TallyCustomerVO activityStatistics(String beginCreateTime, String endCreateTime);
}


